Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy protocol #408

Merged
merged 2 commits into from
Jul 26, 2024
Merged

Proxy protocol #408

merged 2 commits into from
Jul 26, 2024

Conversation

ewdurbin
Copy link
Member

Description

This enables our haproxy instances to accept proxy protocol. This will be necessary so that we can get actual client ip addresses to the backends when requests traverse the Digital Ocean load balancers.

As is, haproxy only sees the client address as the DO load balancer when clients hit it directly. With this, we can enable Proxy Protocol on the DO load balancer and send the actual client ip along.

This binds postscreen on port 20025 with proxy protocol support.

It will allow for us to send proxy protocol headers from haproxy
so that the remote address is correctly considered.
@ewdurbin ewdurbin merged commit e94c512 into main Jul 26, 2024
2 checks passed
@ewdurbin ewdurbin deleted the proxy_protocol branch July 26, 2024 14:00
Copy link
Contributor

Don't forget to pull the latest changes on salt.nyc1.psf.io!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants